package com.stone.filter;

import org.springframework.beans.factory.config.ConfigurableListableBeanFactory;
import org.springframework.context.ApplicationContextInitializer;
import org.springframework.context.ConfigurableApplicationContext;

/**
 * @author stone
 */
public class TestApplicationContextInitializer implements ApplicationContextInitializer {

    @Override
    public void initialize(ConfigurableApplicationContext applicationContext) {

        ConfigurableListableBeanFactory beanFactory = applicationContext.getBeanFactory();
        System.err.println(beanFactory);
        System.err.println("Test ApplicationContextInitializer");
    }
}
